package com.zhinong.service;

import com.zhinong.dto.ExpertPageQueryDTO;
import com.zhinong.entity.Expert;
import com.zhinong.result.PageResult;

public interface ExpertService {
    PageResult pageQuery(ExpertPageQueryDTO expertPageQueryDTO);

    Expert getByID(Long id);

    void save(Expert expert);

    void update(Expert expert);

    void delete(Long id);
}
